//
//  UIViewController+XHNHud.h
//  PockPower
//
//  Created by 邢行 on 2017/7/2.
//  Copyright © 2017年 XingHang. All rights reserved.
// toast

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface UIViewController (XHNHud)


/**
 文字Hud  提示

 @param msg 要提示的文字
 */
-(void)showWithText:(NSString *)msg;

    
- (void)showActivity:(NSString *)content;
- (void)hideAllAlert;
- (MBProgressHUD *)showAlert:(NSString *)content ;
- (MBProgressHUD *)showAlert:(NSString *)content completionBlock:(MBProgressHUDCompletionBlock)completionBlock;
    
- (MBProgressHUD *)showAlert:(NSString *)content afterDelay:(NSTimeInterval)afterDelay;
    
- (MBProgressHUD *)showAlert:(NSString *)content afterDelay:(NSTimeInterval)afterDelay completionBlock:(MBProgressHUDCompletionBlock)completionBlock;

@end
